@include('layouts._header')
<body>
<div class="app app-header-fixed" id="app">
    <!-- navbar -->
    <div class="app-header navbar">
        <!-- navbar header -->
        <div class="navbar-header bg-dark">
            <button class="pull-right visible-xs dk" data-toggle="class:show" data-target=".navbar-collapse">
                <i class="glyphicon glyphicon-cog"></i>
            </button>
            <button class="pull-right visible-xs" data-toggle="class:off-screen" data-target=".app-aside" ui-scroll="app">
                <i class="glyphicon glyphicon-align-justify"></i>
            </button>
            <!-- brand -->
            <a href="{{route('index')}}" class="navbar-brand text-lt">
                <i class="fa fa-btc"></i>
                <img src="{{asset('resources/assets/style/img/logo.png')}}" alt="." class="hide">
                <span class="hidden-folded m-l-xs">Goods</span>
            </a>
            <!-- / brand -->
        </div>
        <!-- / navbar header -->

        <!-- navbar collapse -->
        <div class="collapse pos-rlt navbar-collapse box-shadow bg-white-only">
            <!-- buttons -->
            <div class="nav navbar-nav hidden-xs">
                <a href="#" class="btn no-shadow navbar-btn" data-toggle="class:app-aside-folded" data-target=".app">
                    <i class="fa fa-dedent fa-fw text"></i>
                    <i class="fa fa-indent fa-fw text-active"></i>
                </a>
            </div>
            <!-- / buttons -->
            <!-- search form -->
            {{--<form class="navbar-form navbar-form-sm navbar-left shift" ui-shift="prependTo" data-target=".navbar-collapse" role="search" >--}}
                {{--<div class="form-group">--}}
                    {{--<div class="input-group">--}}
                        {{--<input type="text" class="form-control input-sm bg-light no-border rounded padder" placeholder="Search projects...">--}}
								{{--<span class="input-group-btn">--}}
					                {{--<button type="submit" class="btn btn-sm bg-light rounded"><i class="fa fa-search"></i></button>--}}
					            {{--</span>--}}
                    {{--</div>--}}
                {{--</div>--}}
            {{--</form>--}}
            <!-- / search form -->

            <!-- nabar right -->
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" data-toggle="dropdown" class="dropdown-toggle clear" data-toggle="dropdown">
								<span class="thumb-sm avatar pull-right m-t-n-sm m-b-n-sm m-l-sm">
					                <img src="{{asset('resources/assets/style/img/a0.jpg')}}" alt="...">
					                <i class="on md b-white bottom"></i>
					            </span>
                        <span class="hidden-sm hidden-md"></span> <b class="caret"></b>
                    </a>
                    <!-- dropdown -->
                    <ul class="dropdown-menu animated fadeInRight w">
                        <li>
                            <a href="{{ route('logout') }}"
                               onclick="event.preventDefault();
                               document.getElementById('logout-form').submit();">
                                退出
                            </a>
                            <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                {{ csrf_field() }}
                            </form>
                        </li>
                    </ul>
                    <!-- / dropdown -->
                </li>
            </ul>
            <!-- / navbar right -->

        </div>
        <!-- / navbar collapse -->
    </div>
    <!-- / navbar -->

    <!-- menu -->
    @include('layouts._menu')
            <!-- / menu -->

    <!-- content -->
    @yield('content')

            <!-- / footer -->
</div>
<!-- jQuery -->
@include('layouts._footer')